<?php 
	$baseAsset = $this->baseUrl().'/public/assets/';
?>

<html>
	<head>
	    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	    <title>Protox - Autenticação</title>
	    
	    <!-- Style Sheets -->
	    <?= $this->headLink()->appendStylesheet($baseAsset.'/css/admin_login.css') ."\n"; ?>
	    <?= $this->headLink()->appendStylesheet($baseAsset.'/css/admin_messages.css') ."\n"; ?>
	    
	     <!-- Javascript -->
	     <?= $this->headScript()->appendFile($baseAsset.'/js/validate_form.js') ."\n"; ?>     
	      
		<!-- Dojo support -->
		<?php
		  if ($this->dojo()->isEnabled()){
			  $this->dojo()->setLocalPath($baseAsset.'/js/dojo/dojo/dojo.js')
			               ->setDjConfig(array(
			                 'parseOnLoad' => true,
			               	 'locale' => 'pt-br',
			                 'extraLocale' => array('pt-br', 'en-us')
			                 ))
			               ->addStyleSheetModule('dijit.themes.tundra');
			echo $this->dojo();
			}
		?>

	</head>

	<body class ="tundra">
		<h1>Protox</h1>
		<div id="content">
			<?=$this->partial('priorityMessages.phtml', array('priorityMessages'=>$this->priorityMessenger())); ?>
			<?=$this->layout()->content ?>
		</div>
	</body>
</html>


